﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ArgosMembership.Componentes
{
    /// <summary>
    /// Security Managed Exception
    /// </summary>
    [Serializable()]
    public class SMException : Exception
    {
        /// <summary></summary>
        public SMException() : base()
        { }

        /// <summary></summary>
        /// <param name="mensaje"></param>
        public SMException(string mensaje)  : base(mensaje)
        { }

        /// <summary></summary>
        /// <param name="mensaje"></param>
        /// <param name="innerException"></param>
        public SMException(string mensaje,Exception innerException)
            : base(mensaje,innerException)
        { }

        /// <summary></summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        public SMException(SerializationInfo info, StreamingContext context)
            : base(info,context)
        { }
    }
}
